<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="css/product.css">
</head>
<body>

<div class="site-nav-bd">
    <div class="province_box">
        <span >送货至</span>
        <span class="province_name">湖南　</span>
        <ul class="hd_provinceList">
            <li>
                <em>A</em>
                <a >安徽</a>
            </li>
            <li>
                <em>B</em>
                <a >北京</a>
            </li>
            <li>
                <em>C</em>
                <a >重庆</a>
            </li>
            <li>
                <em>G</em>
                <a >广州</a>　<a >广西</a>　<a >贵州</a>　<a >甘肃</a>
            </li>
            <li>
                <em>F</em>
                <a >福建</a>
            </li>
            <li>
                <em>H</em>
                <a >河北</a>　<a >黑龙江</a>　<a >海南</a>　<a >湖北</a>　<a >湖南</a>　<a >河南</a>
            </li>
            <li>
                <em>J</em>
                <a >江苏</a>　<a >吉林</a>　<a >江西</a>
            </li>
            <li>
                <em>L</em>
                <a >辽宁</a>
            </li>
            <li>
                <em>N</em>
                <a >内蒙古</a>　<a >宁夏</a>
            </li>
            <li>
                <em>Q</em>
                <a >青海</a>
            </li>
            <li>
                <em>S</em>
                <a >上海</a>　<a >山东</a>　<a >四川</a>　<a >陕西</a>
            </li>
            <li>
                <em>T</em>
                <a >天津</a>
            </li>
            <li>
                <em>X</em>
                <a >西藏</a>　<a >新疆</a>
            </li>
            <li>
                <em>Y</em>
                <a >云南</a>
            </li>
            <li>
                <em>Z</em>
                <a >浙江</a>
            </li>
        </ul>
    </div>
    <div class="hearder">

        <a href="login.html" class="red mr5">请登录 </a>
        <a href="register.html">注册</a><span>　|　</span>

        <a href="http://passport.111.com.cn/sso/login.action?ReturnUrl=//my.111.com.cn/ucenter/orderList.action">我的订单</a><span>　|　</span>
        <a href="http://passport.111.com.cn/sso/login.action?ReturnUrl=//my.111.com.cn/ucenter/myCenter.action" class="myyaowang">我的1药　</a><span> |　</span>
        <a href="https://www.111.com.cn/cmsPage/2013073005/index.html">帮助中心</a><span>　|　</span>
        <i class="tellnumber">400-077-0958</i><span>　｜　　</span>
        <a class="tell">手机APP</a>
        <div class="tel"></div>
    </div>
</div>
<div id="topCurtain">
    <a href="https://www.111.com.cn/cmsPage/2018100bf5381123102402/index.html?tp=7-1">
        <img src="image/tou.jpg" id="toptrack"/>
    </a>
</div>


<div class="wrap site_head yao_head">
    <!----------------------------------------logo图标------------------------------------------------------------>
    <div class="logo">
        <a href="https://www.111.com.cn/" >
            <img src="image/logo_01.png" />
        </a>
    </div>

    <!----------------------------------------搜索框------------------------------------------------------------>
    <div class="searchForm">
        <input type="text" placeholder="请输入商品名、人群、症状等">
        <button class="searchBtn">
            <img src="image/search.png" />
        </button>

        <div class="word_box">
            <a href="https://www.111.com.cn/search/search.action?keyWord=%25E5%25A5%25A5%25E5%2588%25A9%25E5%258F%25B8%25E4%25BB%2596" class="hotkeys">奥利司他</a>
            <a href="https://www.111.com.cn/search/search.action?keyWord=%25E6%2584%259F%25E5%2586%2592">感冒</a>
            <a href=" https://www.111.com.cn/search/search.action?keyWord=%25E9%2580%258D%25E9%2581%25A5%25E4%25B8%25B8">逍遥丸</a>
            <a href="https://www.111.com.cn/search/search.action?keyWord=%25E8%25A1%25A5%25E8%2582%25BA%25E4%25B8%25B8">补肺丸</a>
            <a href="https://www.111.com.cn/search/search.action?keyWord=%25E5%25A6%2587%25E7%2582%258E%25E6%25B4%2581">妇炎洁</a>
            <a href="https://www.111.com.cn/search/search.action?keyWord=%25E8%25A1%2580%25E5%258E%258B%25E8%25AE%25A1">血压计</a>
            <a href="https://www.111.com.cn/search/search.action?keyWord=%25E9%259A%2590%25E5%25BD%25A2%25E7%259C%25BC%25E9%2595%259C%25E6%258A%25A4%25E7%2590%2586%25E6%25B6%25B2">护理液</a>
        </div>
    </div>

    <div class="mod_minicart">
        <a href="http://buy.111.com.cn/cart/shoppingcart/queryshoppingcart.action" class="mini_cart_btn">
            <em class="cart_num">0</em>
        </a>
        <span>购物车</span>
    </div>
</div>

<!-------------------------------黄色横线----------------------------->
<div class="hx"></div>

<!-----------------------------菜单------------------------->
<div class="head_wrap">

    <div class="headerNavMain">
        <div class="allSort">
            <a href="https://www.111.com.cn/categories/">所有商品分类</a>
        </div>
        <div class="sortbox">
            <ul class="sitenav">
                <li>
                    <a href="https://www.111.com.cn/?tp=9-1" class="nav_link">首页</a>
                </li>
                <li>
                    <a href="https://www.111.com.cn/cmsPage/2015061908/index.html?tp=9-2" class="nav_link">家庭常备药</a>
                </li>
                <li>
                    <a href="https://www.111.com.cn/cmsPage/20184ee7ab470926100714/index.html?tp=8-4&tp=9-3" class="nav_link">乙肝</a>
                </li>
                <li>
                    <a href="https://www.111.com.cn/cmsPage/2017e7cbee3a1211161537/index.html?tp=9-4" class="nav_link1">传统滋补</a>
                </li>
                <li>
                    <a href="https://www.111.com.cn/cmsPage/20188664d90f0514141253/index.html?tp=9-5" class="nav_link">男性早泄</a>
                </li>
                <li>
                    <a href="https://www.111.com.cn/cmsPage/20181d6642160426113758/index.html?tp=9-6" class="nav_link">控制三高</a>
                </li>
                <li>
                    <a href="https://www.111.com.cn/cmsPage/201732ed342b0118160705/index.html?tp=9-7" class="nav_link1">中药抓药</a>
                </li>
            </ul>
        </div>
    </div>
</div>

<!----------------------------面包屑--------------------------------->
<div class="clearfixz">
    <div class="detailnav">
        <span class="linkhome">　
            <a href="index.html">首页</a>
        </span>
        <span class="arrow">></span>
        <span>
            <a href="//www.111.com.cn/categories/953710-j1">中西药品</a>
        </span>
        <span class="arrow">></span>
        <span>
            <a href="//www.111.com.cn/categories/965141-j1">男科疾病</a>
        </span>
        <span class="arrow">></span>
        <span>
            <a href="//www.111.com.cn/categories/965142-j1">前列泉炎</a>
        </span>
        <span>></span>
        <span>前列康 普乐安胶囊0.375g*60粒*12件</span>
    </div>

</div>

<!--外面大盒子-->
<div class="wrap_detail">
    <!--里面盒子-->
    <div class="detail_top">
        <!--放大镜位置盒子-->
        <div id="box">
            <!--放大镜上半部分大盒子-->
            <div id="middleImg">
                <img src="image/1_2.jpg">
                <div id="middleArea"></div>
            </div>
                <!--<a class="jqzoom2" rel="gall" style="outline-style: none; cursor: crosshair; position: relative; height: 298px; width: 298px; text-decoration: none;" href="image/fdj1max.jpg" >-->
                    <!--<div class="zoomPad">-->
                        <!--<img src="image/fdj1middle.jpg" alt="">-->
                        <!--<div class="zoomPup5" style="display: none; top: 77px; left: 77px; width: 141px; height: 141px; position: absolute; border-width: 1px;"></div>-->
                        <!--<div></div>-->
                    <!--</div>-->
                <!--</a>-->
            <div id="small">
                <ul>
                    <li>
                        <img src="image/1_1.jpg" alt="">
                    </li>
                    <li>
                        <img src="image/2_1.jpg" alt="">
                    </li>
                </ul>
            </div>
            <div id="bigArea">
                <img src="image/1_3.jpg" id="bigImg">
            </div>
        </div>
    </div>
</div>



<!-----------------------------------底部-------------------------------->
<div class="ft_commit">
    <div class="ft_commit_div">
        <a class="c_1">
            <i class="ic-yingsibz"></i>
        </a>
        <a class="c_1">
            <i class="ic-yingsibz"></i>
        </a>
        <a class="c_1">
            <i class="ic-yingsibz"></i>
        </a>
        <a class="c_1">
            <i class="ic-yingsibz"></i>
        </a>
    </div>
</div>

<div class="app_part">
    <div class="app_part_con">
        <ul class="app_part_ul">
            <li class="no_margin">
                <img class="code_img" src="image/td_code1.jpg" alt="壹药网客户端二维码">
                <div class="app_part_right">
                    <h2 class="h2_tt">1药网客户端</h2>
                    <p class="intro">
                        APP专享价更优惠
                        <br>
                        购物满69满免邮
                        <br>
                        超低价格专享价
                        <br>
                        药监认证, 正品保障
                    </p>
                </div>
            </li>
            <li class="no_margin">
                <img class="code_img" src="image/td_code1.jpg" alt="壹药网客户端二维码">
                <div class="app_part_right">
                    <h2 class="h2_tt">1药网客户端</h2>
                    <p class="intro">
                        APP专享价更优惠
                        <br>
                        购物满69满免邮
                        <br>
                        超低价格专享价
                        <br>
                        药监认证, 正品保障
                    </p>
                </div>
            </li>
            <li class="no_margin">
                <img class="code_img" src="image/td_code1.jpg" alt="壹药网客户端二维码">
                <div class="app_part_right">
                    <h2 class="h2_tt">1药网客户端</h2>
                    <p class="intro">
                        APP专享价更优惠
                        <br>
                        购物满69满免邮
                        <br>
                        超低价格专享价
                        <br>
                        药监认证, 正品保障
                    </p>
                </div>
            </li>
        </ul>
    </div>
</div>

<div class="foot_navi">
    <div class="bottom_service_link">
        <div class="service_port">
            <p class="tel0">400-007-0958</p>
            <p class="service_time">
                周一到周日 09:00-21:00
                <br>
                （收取市话费）
            </p>
        </div>

        <dl class="first_dl">
            <dt>新手入门</dt>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">常见问题</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">新会员注册</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">用户登录</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">找回密码</a>
            </dd>
        </dl>
        <dl class="first_dl">
            <dt>新手入门</dt>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">常见问题</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">新会员注册</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">用户登录</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">找回密码</a>
            </dd>
        </dl>
        <dl class="first_dl">
            <dt>新手入门</dt>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">常见问题</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">新会员注册</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">用户登录</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">找回密码</a>
            </dd>
        </dl>
        <dl class="first_dl">
            <dt>新手入门</dt>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">常见问题</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">新会员注册</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">用户登录</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">找回密码</a>
            </dd>
        </dl>
        <dl class="first_dl">
            <dt>新手入门</dt>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">常见问题</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">新会员注册</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">用户登录</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">找回密码</a>
            </dd>
        </dl>
        <dl class="first_dl">
            <dt>新手入门</dt>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">常见问题</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">新会员注册</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">用户登录</a>
            </dd>
            <dd>
                <a href="//www.111.com.cn/cmsPage/2013073101/index.html">找回密码</a>
            </dd>
        </dl>

    </div>
</div>

<div class="gray_box">
    <div class="wrap1">
        <p>
            <a href="//gangling.111.com.cn/">关于111集团</a>
            |
            <a href="//www.111.com.cn/cmsPage/2015012602/">关于1药网</a>
            |
            <a href="//www.111.com.cn/cmsPage/2015012707/" style="color:red;">诚征英才</a>
            |
            <a href="//www.111.com.cn/cmsPage/2014022401/index.html">直营实体药房</a>
            |
            <a href="//www.111.com.cn/cmsPage/2013101401/">互联网药品信息服务资格证</a>
            |
            <a href="//www.111.com.cn/cmsPage/2013101402/">互联网药品交易资格证：粤C20150007</a>
        </p>
        <p>
            <a href="//www.111.com.cn/cmsPage/2014041703/">连锁营业执照</a>
            |
            <a href="//www.111.com.cn/cmsPage/2013101405/">药品经营许可证</a>
            |
            <a href="//www.111.com.cn/cmsPage/2013101407/">医疗器械许可证</a>
            |
            <a href="//www.111.com.cn/cmsPage/2013101404/">食品经营许可证</a>
            |
            <a href="//www.111.com.cn/cmsPage/2013101408/">GSP证书</a>
            |
            <a href="//www.111.com.cn/cmsPage/2015032501/">ICP粤B2-20150066</a>
        </p>
        <div class="sf_verify">
            <a href="http://www.sda.gov.cn/WS01/CL0001/" class="vl_1"></a>
            <a href="http://www.gdgs.gov.cn/" class="vl_2"></a>
            <a href="http://www.gdnet110.gov.cn/" class="vl_3"></a>
            <a href="//www.111.com.cn/315Web/" class="vl_4"></a>
            <a class="vl_5"></a>
            <a class="vl_6"></a>
            <a href="https://www.95516.com/" class="vl_7"></a>
            <a class="vl_8" href="https://pingjia.alipay.com/comment/aipCriticismShow.htm?trustId=AIP08031825"></a>
            <a class="vl_9" href="https://ss.knet.cn/verifyseal.dll?sn=e14021044010046102z8ky000000&comefrom=trust"></a>
            <a href="http://wljg.gdgs.gov.cn/corpsrch.aspx?key=440000000026071">
                <img src="image/20141126002933.png"/>
            </a>
        </div>
    </div>
</div>
<p class="ta_center">
    <a href="//www.111.com.cn/">1药网网上药店</a>
    ，国家药监局认证通过的合法网上药店，中国医药电子商务行业的开拓者领跑者。
    <a href="http://www.miitbeian.gov.cn">粤ICP备12015869号-1</a>
    <br>
    公司名称：广东壹号大药房连锁有限公司 公司地址：广东省广州市越秀区共和西路1号2层 联系电话：020-31067218
</p>
<div class="copy_right">
    Copyright (C) 2010-2015 1药网版权所有　　
    <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44010402000743" class="copy_ico">
        公安备案号 44010402000743
    </a>
</div>
</body>
</html>

<script>
    function getStyle(obj, attr){
        if(window.getComputedStyle){
            return window.getComputedStyle(obj, null)[attr];
        }
        return obj.currentStyle[attr];
    }

    window.onload = function(){



        //核心公式    小区域/大区域=小图/大图


        //  小区域= (小图/大图) *大区域;
        //求出比例   小图/小区域=大图/大区域

        var oBox = document.getElementById('box');

        var middleImg = document.getElementById('middleImg');// 小图
        var middleArea = document.getElementById('middleArea');//小区域

        var bigArea = document.getElementById('bigArea');//大区域
        var bigImg = document.getElementById('bigImg');//大图

        // 小区域 =(小图/大图)*大区域

        var sH = (parseInt(getStyle(middleImg, "height")) / parseInt(getStyle(bigImg, "height"))) * parseInt(getStyle(bigArea, "height"));

        var sW = (parseInt(getStyle(middleImg, "height")) / parseInt(getStyle(bigImg, "height"))) * parseInt(getStyle(bigArea, "height"));

        middleArea.style.width = sW + "px";

        middleArea.style.height = sH + "px";


        //如果当前 小区域是隐藏的  middleArea.offsetWidth 无法拿到宽度
        console.log(middleArea.offsetWidth);
        var oScale = middleImg.offsetWidth / parseInt(getStyle(middleArea, "width"));


        //鼠标进入小图,让小区域显示
        middleImg.onmouseenter = function(){
            middleArea.style.display = "block";
            bigArea.style.display = "block";
            document.onmousemove = function(evt){
                var e = evt || window.event;

                var mX = e.clientX - oBox.offsetLeft - middleArea.offsetWidth / 2;

                if(mX <= 0){
                    mX = 0;
                }
                if(mX > middleImg.offsetWidth - middleArea.offsetWidth){
                    mX = middleImg.offsetWidth - middleArea.offsetWidth;
                }
                var mY = e.clientY - oBox.offsetTop - middleArea.offsetHeight / 2;


                if(mY <= 0){
                    mY = 0;
                }
                if(mY > middleImg.offsetWidth - middleArea.offsetWidth){
                    mY = middleImg.offsetWidth - middleArea.offsetWidth;
                }

                middleArea.style.left = mX + "px";
                middleArea.style.top = mY + "px";

                //移动大图
                bigImg.style.left = -oScale * mX + "px";
                bigImg.style.top = -oScale * mY + "px";

            }
        }


        middleImg.onmouseleave = function(){
            document.onmousemove = null;
            middleArea.style.display = "none";
            bigArea.style.display = "none";
        }

        var oLis = document.querySelectorAll('#small li');
        for(var [k, o] of oLis.entries()){

            o.index = k;
            o.onclick = function(){
                middleImg.children[0].src = `image/${this.index + 1}_2.jpg`;
                bigArea.children[0].src = `image/${this.index + 1}_3.jpg`;
            }

        }


    }
</script>